package guoanmaker.operator.business.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import guoanmaker.operator.business.model.KeyValue;
import guoanmaker.operator.business.model.OperatorActivityType;

/**
 *  
 *
 * @author huZhaoyu 
 * @ClassName: OperatorActivityTypeRepository
 * @Description: 活动类型Repository
 * @date 2017/6/29
 */
public interface KeyValueRepository extends JpaRepository<KeyValue, String>, JpaSpecificationExecutor<KeyValue> {

	@Query("select valuess  from  KeyValue where keyss=:keyss")
	public String selectValuessByKeyss(@Param("keyss") String keyss);
}